<LayoutEditFormBox :loading="load">
    <template slot="main">
        <LayoutCell>
            <el-form ref="editForm" :model="form"  label-width="200px" label-position="left">
                <el-form-item label="Logo" prop="logoImg">
                    <div class="imgWrap">
                        <SelectImageRadio :appWindow="appWindow" v-model="form.logoImg">
                            <template slot-scope="scope" slot="item">
                                <img class="SelectResourcesImg" :src="scope.src" />
                            </template>
                        </SelectImageRadio>
                    </div>
                </el-form-item>
                <el-form-item label="店铺名称">
                    <el-col :span="8">
                        <el-input v-model="form.name" placeholder="请输入店铺名称"></el-input>
                    </el-col>
                      
                </el-form-item>
                <el-form-item label="店铺简介">
                    <el-col :span="8">
                      <el-input type="textarea" autosize rows="1" v-model="form.remark" placeholder="请输入店铺简介"> </el-input>
                    </el-col>
                </el-form-item>

                <el-form-item label="店铺状态">
                    <el-switch v-model="form.status" :active-value="0" :inactive-value="1" active-text="营业中"
                        inactive-text="未营业">
                    </el-switch>
                </el-form-item>
                <el-form-item label="创建时间">
                    <template v-if="infoData">
                        {{infoData.createdTime == null ? '无' : $vFN.Utils.timestampToDate("yyyy-MM-dd HH:mm:ss",infoData.createdTime *1000)}}
                    </template>
                 
                </el-form-item>
                <el-form-item label="有效日期">
                    <template v-if="infoData">
                    {{infoData.validityTime || '无限期'}}
                    </template>
                </el-form-item>
            </el-form>
   
    </LayoutCell>

    </template>
    <template slot="footer">
        <el-button type="primary" slot="option" @click="updateBase">保存</el-button>
    </template>
</LayoutEditFormBox>